home *** CD-ROM | disk | FTP | other *** search
- void main(void)
- {
- char *test_str = "This is a test string for the parsing function.";
- char **ptrarray;
- char *string;
- int wordcnt,size;
- size = strlen(test_str);
- wordcnt=wordcount(test_str);
- allocate_space(wordcnt,&ptrarray,size,&string);
- strcpy(string,test_str);
- str_to_ptrarray(string,ptrarray);
- }
-